﻿<Window x:Class="Brianhdk.Utils.VisualStudio.AssemblyInfoDialog.AssemblyInformationDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Assembly Information" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" ResizeMode="NoResize" ShowInTaskbar="False" WindowStyle="SingleBorderWindow" WindowStartupLocation="CenterOwner" Topmost="True" Background="#FFF0F0F0" Height="300" Width="600">
    <Window.Resources>

    </Window.Resources>
    <Grid Name="ContainerGrid" Margin="10">
        <TabControl HorizontalAlignment="Left" VerticalAlignment="Top" Height="210" Width="{Binding ElementName=ContainerGrid, Path=ActualWidth}">
            <TabItem Header="Assembly Information">
                <Grid>
                    <DataGrid Name="InformationGrid" ItemsSource="{Binding Mode=OneWay}" AutoGenerateColumns="False" GridLinesVisibility="Horizontal" IsReadOnly="True" SelectionMode="Single" SelectionUnit="Cell">
                        <DataGrid.CellStyle>
                            <Style TargetType="DataGridCell">
                                <Style.Triggers>
                                    <Trigger Property="IsSelected" Value="True">
                                        <Setter Property="Background" Value="LightGray" />
                                        <Setter Property="Foreground" Value="Black" />
                                    </Trigger>
                                </Style.Triggers>
                                <Style.Setters>
                                    <Setter Property="BorderThickness" Value="0"/>
                                </Style.Setters>
                            </Style>
                        </DataGrid.CellStyle>
                        <DataGrid.Columns>
                            <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}" ClipboardContentBinding="{Binding Path=Value}" />
                            <DataGridTextColumn Header="Value" Binding="{Binding Path=Value}" />
                        </DataGrid.Columns>
                    </DataGrid>
                </Grid>
            </TabItem>
            <TabItem Header="About">
                <Grid Margin="20">
                    <StackPanel>
                        <TextBlock>
                            This simple Visual Studio extension is brought to you by:
                        </TextBlock>
                        <TextBlock Margin="0,20,0,0">
                            Brian Holmgård Kristensen
                        </TextBlock>
                        <TextBlock Margin="0,2,0,0">
                            <Hyperlink NavigateUri="http://about.me/brianh" RequestNavigate="HyperlinkRequestNavigate">http://about.me/brianh</Hyperlink>
                        </TextBlock>
                    </StackPanel>
                    <TextBlock HorizontalAlignment="Right" VerticalAlignment="Bottom">
                        Version: <TextBlock Name="Version" />
                    </TextBlock>                    
                </Grid>
            </TabItem>
        </TabControl>
        <Button Content="_Close" Height="25" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="120" IsCancel="True" />
    </Grid>
</Window>
